package com.example.demo.mapper;

import com.example.demo.entity.EnvParams;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EnvParamsMapper {
    void insert(EnvParams envParams);

    void update(EnvParams envParams);

    List<EnvParams> selectByProjectId(@Param(value = "projectId") int projectId);

    EnvParams selectByName(@Param(value = "name") String name, @Param(value = "projectId") int projectId);

    EnvParams selectOne(@Param(value = "id") int id);

}
